Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import requests
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
|
| 8 |
-
MAX_NEW_TOKENS =
|
| 9 |
TOKEN = os.environ.get("API_TOKEN", None)
|
| 10 |
URLS = [
|
| 11 |
"https://api-inference.huggingface.co/models/google/flan-ul2",
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
|
| 8 |
+
MAX_NEW_TOKENS = 256
|
| 9 |
TOKEN = os.environ.get("API_TOKEN", None)
|
| 10 |
URLS = [
|
| 11 |
"https://api-inference.huggingface.co/models/google/flan-ul2",
|