Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,6 @@ def respond(message, history):
|
|
| 38 |
temperature=0.7,
|
| 39 |
do_sample=True,
|
| 40 |
pad_token_id=pipe.tokenizer.eos_token_id,
|
| 41 |
-
return_full_text=False,
|
| 42 |
)
|
| 43 |
|
| 44 |
# Decode the generated tokens, skipping the input tokens
|
|
@@ -68,4 +67,4 @@ demo = gr.ChatInterface(
|
|
| 68 |
)
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
| 71 |
-
demo.launch()
|
|
|
|
| 38 |
temperature=0.7,
|
| 39 |
do_sample=True,
|
| 40 |
pad_token_id=pipe.tokenizer.eos_token_id,
|
|
|
|
| 41 |
)
|
| 42 |
|
| 43 |
# Decode the generated tokens, skipping the input tokens
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
+
demo.launch(share=True)
|