Bertug1911 commited on
Commit
24136f1
·
verified ·
1 Parent(s): f38f0f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -5,7 +5,7 @@ def install_and_import(package):
5
  try:
6
  __import__(package)
7
  except ImportError:
8
- print(f"{package} yüklü değil, kuruluyor...")
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="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"
 
 
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()