kingabzpro commited on
Commit
5e4dbaa
1 Parent(s): 711e623

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,8 +1,7 @@
 
1
  import gradio as gr
2
  import os
3
  import subprocess
4
- subprocess.run(["pip", "install","gradio==2.8.0b10"])
5
-
6
  HF_TOKEN = os.getenv('HF_TOKEN')
7
  hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "Rick-bot-flags")
8
 
@@ -38,7 +37,7 @@ def predict(input, history=[]):
38
 
39
  return response, history
40
 
41
- gr.Interface(predict,"textbox","chatbot").launch(enable_queue=True) # customizes the input component
42
 
43
  #theme ="grass",
44
  #title = title,
 
1
+ subprocess.run(["pip", "install","gradio==2.8.0b10"])
2
  import gradio as gr
3
  import os
4
  import subprocess
 
 
5
  HF_TOKEN = os.getenv('HF_TOKEN')
6
  hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "Rick-bot-flags")
7
 
 
37
 
38
  return response, history
39
 
40
+ gr.Interface(predict,"textbox", "chatbot").launch(enable_queue=True) # customizes the input component
41
 
42
  #theme ="grass",
43
  #title = title,