Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from transformers import pipeline
|
| 3 |
import requests
|
| 4 |
|
| 5 |
-
model_id = "
|
| 6 |
|
| 7 |
def fetch_s3_text_file(url):
|
| 8 |
try:
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
import requests
|
| 4 |
|
| 5 |
+
model_id = "gpt2" # You can replace this with any model of your choice
|
| 6 |
|
| 7 |
def fetch_s3_text_file(url):
|
| 8 |
try:
|