chmawia commited on
Commit
274c44f
·
verified ·
1 Parent(s): 50f8e16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -1,15 +1,3 @@
1
- ### **🔹 1. Restart Your Hugging Face Space**
2
- - **Go to your Hugging Face Space.**
3
- - Click **“Settings”** → Click **“Restart Space”**.
4
- - If it still doesn’t work, try **“Factory Reboot”** (this will reset everything).
5
-
6
- ---
7
-
8
- ### **🔹 2. Modify Your Code**
9
- **Update your model loading code** to make sure it runs properly. Open your `app.py` file and replace the following lines:
10
-
11
- #### ✅ **Fixed Code:**
12
- ```python
13
  import os
14
  import gradio as gr
15
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import gradio as gr
3
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer