Upload 3 files
Browse files- README.md +1 -1
- app.py +2 -3
- requirements.txt +3 -3
README.md
CHANGED
|
@@ -3,7 +3,7 @@ title: Hebrew GPT Neo - Science Fiction and Fantasy
|
|
| 3 |
emoji: ๐งโโ๏ธ
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
-
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
|
|
|
| 3 |
emoji: ๐งโโ๏ธ
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
+
sdk_version: 3.24.1
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
app.py
CHANGED
|
@@ -58,9 +58,8 @@ demo = gr.Interface(
|
|
| 58 |
outputs=gr.Textbox(type="text", label="ืคื ืืืคืืข ืืืงืกื ืฉืืืืืื ืืืืื", elem_id="output_text"),
|
| 59 |
css="#output_text{direction: rtl} #input_text{direction: rtl}",
|
| 60 |
examples = ['ืืฉื ืืืคืืข ืืื','ืงืืื ืฉืืคื ืืช','ืคืขื ืืืช ืืคื ื ืฉื ืื ืจืืืช', 'ืืืจื ืคืืืจ ืืืื ืืืื ื ืืื', 'ืืื ืืคืจืชื ืืช ืื ืืืื ืืืงืก ืืฉ'],
|
| 61 |
-
allow_flagging=
|
| 62 |
)
|
| 63 |
|
| 64 |
demo.queue()
|
| 65 |
-
|
| 66 |
-
demo.launch()
|
|
|
|
| 58 |
outputs=gr.Textbox(type="text", label="ืคื ืืืคืืข ืืืงืกื ืฉืืืืืื ืืืืื", elem_id="output_text"),
|
| 59 |
css="#output_text{direction: rtl} #input_text{direction: rtl}",
|
| 60 |
examples = ['ืืฉื ืืืคืืข ืืื','ืงืืื ืฉืืคื ืืช','ืคืขื ืืืช ืืคื ื ืฉื ืื ืจืืืช', 'ืืืจื ืคืืืจ ืืืื ืืืื ื ืืื', 'ืืื ืืคืจืชื ืืช ืื ืืืื ืืืงืก ืืฉ'],
|
| 61 |
+
allow_flagging="never"
|
| 62 |
)
|
| 63 |
|
| 64 |
demo.queue()
|
| 65 |
+
demo.launch()
|
|
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
gradio
|
| 2 |
-
transformers
|
| 3 |
-
tokenizers
|
| 4 |
torch
|
| 5 |
bitsandbytes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
torch
|
| 2 |
bitsandbytes
|
| 3 |
+
gradio
|
| 4 |
+
transformers
|
| 5 |
+
tokenizers
|