SamiKoen commited on
Commit
8f9e97c
·
verified ·
1 Parent(s): 40bc2a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,14 +8,14 @@ For more information on `huggingface_hub` Inference API support, please check th
8
  """
9
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
10
  try:
11
- os.makedirs("/main", exist_ok=True)
12
- print("'main' dizini başarıyla oluşturuldu veya zaten mevcut.")
13
  except Exception as e:
14
  print(f"Dizin oluşturulamadı: {e}")
15
 
16
  # Test dosyası oluşturmayı dene
17
  try:
18
- with open("main/test.txt", "w", encoding="utf-8") as f:
19
  f.write("Test başarılı")
20
  print("Test dosyası oluşturuldu.")
21
  except Exception as e:
 
8
  """
9
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
10
  try:
11
+ os.makedirs("/data/", exist_ok=True)
12
+ print("'data' dizini başarıyla oluşturuldu veya zaten mevcut.")
13
  except Exception as e:
14
  print(f"Dizin oluşturulamadı: {e}")
15
 
16
  # Test dosyası oluşturmayı dene
17
  try:
18
+ with open("/data/test.txt", "w", encoding="utf-8") as f:
19
  f.write("Test başarılı")
20
  print("Test dosyası oluşturuldu.")
21
  except Exception as e: