Spaces:
Runtime error
Runtime error
Commit
·
2b6d53c
1
Parent(s):
a7b5cc1
Finish the conversion notebook. Start on the Gradio app.
Browse files- main.py +16 -0
- packages.txt +0 -0
- pickle_lama_model.ipynb +0 -0
- requirements.txt +5 -3
main.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is a sample Python script.
|
2 |
+
|
3 |
+
# Press Shift+F10 to execute it or replace it with your code.
|
4 |
+
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
5 |
+
|
6 |
+
|
7 |
+
def print_hi(name):
|
8 |
+
# Use a breakpoint in the code line below to debug your script.
|
9 |
+
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
|
10 |
+
|
11 |
+
|
12 |
+
# Press the green button in the gutter to run the script.
|
13 |
+
if __name__ == '__main__':
|
14 |
+
print_hi('PyCharm')
|
15 |
+
|
16 |
+
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
|
packages.txt
ADDED
File without changes
|
pickle_lama_model.ipynb
ADDED
The diff for this file is too large to render.
See raw diff
|
|
requirements.txt
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
1 |
+
torch==2.2.0
|
2 |
+
gradio==4.19.0
|
3 |
+
gradio_client==0.10.0
|
4 |
+
torchvision==0.17.0
|
5 |
+
pillow==10.2.0
|