Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ def install_and_import(package):
|
|
5 |
try:
|
6 |
__import__(package)
|
7 |
except ImportError:
|
8 |
-
print(f"{package}
|
9 |
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
|
10 |
|
11 |
# Gerekli paketleri kontrol et ve kur
|
@@ -46,7 +46,9 @@ arayuz = gr.Interface(
|
|
46 |
],
|
47 |
outputs="text",
|
48 |
title="BrtGPT-124m-Base",
|
49 |
-
description="
|
|
|
|
|
50 |
)
|
51 |
|
52 |
arayuz.launch()
|
|
|
5 |
try:
|
6 |
__import__(package)
|
7 |
except ImportError:
|
8 |
+
print(f"{package} is not installed, installing...")
|
9 |
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
|
10 |
|
11 |
# Gerekli paketleri kontrol et ve kur
|
|
|
46 |
],
|
47 |
outputs="text",
|
48 |
title="BrtGPT-124m-Base",
|
49 |
+
description="""
|
50 |
+
Adjust the parameters, select the model, and generate text. (0.7 Temp and Top-k = 10 is good for CREATIVITY, 0.1/0.15 Temp. and Top-k = 1-5 is good for ACCURACY
|
51 |
+
Model Page: 'https://huggingface.co/Bertug1911/BrtGPT-124m-Base' """
|
52 |
)
|
53 |
|
54 |
arayuz.launch()
|