fengtc commited on
Commit
3bdf508
1 Parent(s): 892108b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -43,12 +43,8 @@ def predict(message, history):
43
  stream=True
44
  )
45
 
46
- with gr.Blocks() as demo:
47
-
48
- with gr.Tab("Streaming"):
49
- gr.ChatInterface(predict, title=title, description=description, css=css, examples=examples, cache_examples=True)
50
 
51
- with gr.Tab("Batch"):
52
- gr.ChatInterface(predict_batch, title=title, description=description, css=css, examples=examples, cache_examples=True)
53
-
54
  gr.ChatInterface(predict).queue().launch(auth=(USER, PASS))
 
43
  stream=True
44
  )
45
 
46
+ gr.Blocks() :
47
+ gr.ChatInterface(predict, title=title, description=description, css=css, examples=examples, cache_examples=True)
 
 
48
 
49
+
 
 
50
  gr.ChatInterface(predict).queue().launch(auth=(USER, PASS))