CognitiveScience commited on
Commit
efebb1d
·
1 Parent(s): d46a46a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ with gr.Blocks() as demo:
139
  response="Hi " + link #(link) #acf("hello world")[0]["label"] + str(math.trunc(acf("hello world")[0]["score"])*100/100)+bcf(link)
140
  return response,1 #result #soup.prettify()
141
  cssubmit.click(cs, name, [comments,count])
142
- interface = gr.Interface(reverse, gr.Textbox(), gr.Textbox())
143
  interface.launch(inline=True)
144
  #gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
145
 
 
139
  response="Hi " + link #(link) #acf("hello world")[0]["label"] + str(math.trunc(acf("hello world")[0]["score"])*100/100)+bcf(link)
140
  return response,1 #result #soup.prettify()
141
  cssubmit.click(cs, name, [comments,count])
142
+ interface = gr.Interface(cs, gr.Textbox(), gr.Textbox())
143
  interface.launch(inline=True)
144
  #gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
145